#ifndef SEAT_H
#define SEAT_H

#include <QObject>
#include <QString>

class Seat : public QObject
{
    Q_OBJECT
public:
    Seat();
    Seat(int id, QString seatNumber, QString trayNumber, QString seatDirection, QString note);

    Seat &operator=(Seat &other);

    QString toString();

private:
    int id;
    QString seatNumber;
    QString trayNumber;
    QString seatDirection;
    QString note;

public:
    int getId() { return id; }
    QString getSeatNumber() { return seatNumber; }
    QString getTrayNumber() { return trayNumber; }
    QString getSeatDirection() { return seatDirection; }
    QString getNote() { return note; }

    void setId(int value) { id = value; }
    void setSeatNumber(QString value) { seatNumber = value; }
    void setTrayNumber(QString value) { trayNumber = value; }
    void setSeatDirection(QString value) { seatDirection = value; }
    void setNote(QString value) { note = value; }
};

#endif // SEAT_H
